import getlink from "@/api/getapi.js"
let list = {
    state: {
        arrt:[]
    },
    mutations: {
        kff(state,payload){
            state.arrt=payload.xdata
        }
    },
    actions: {
        kdta(context, payload) {
            console.log(context);
            getlink(payload.hey).then((ok) => {
                context.commit("kff", { xdata:ok.data.data})
                console.log(ok.data.data);
            })
        }
    },

    getters: {

    },
}
export default list